#ifndef __BSP_EEPROM_H
#define __BSP_EEPROM_H

#include "ST_IIC.h"

#define AT24CXX_WRITE_ADDRESS  0xA2			
#define AT24CXX_READ_ADDRESS   0xA3

#define I2C_PageSize    64

void bsp_AT24CXX_Init(void);
u8 device_AT24CXX_Write(u16 WriteAddr,u8 *pBuffer,u16 NumToWrite);
void device_AT24CXX_Read(u16 ReadAddr,u8 *pBuffer,u16 NumToRead);

#endif



